import request from '@/utils/request'
//评论列表查询(前端分页树形结构回显)
export const commentListService = (params: any) =>{
    return request.get('/commentManagement/user/commentList',{params:params})
}
//评论列表查询(后端条件分页回显)
export const commentPageListService = (params: any) =>{
    return request.get('/commentManagement/commentList',{params:params})
}
//添加评论
export const addCommentService = (commentForm: any)=>{
    return request.post('/commentManagement',commentForm)
}
//删除评论
export const deleteCommentService = (id: number)=>{
    return request.delete('/commentManagement/'+id)
}